import request from '@/utiles/request'
// 工作模式列表查询
export function workModeList (data) {
  return request({
    url: '/work-patterns/all',
    method: 'get',
    data
  })
}
// 分页查询排班
export function workArrangeList (params) {
  return request({
    url: '/work-schedulings',
    method: 'get',
    params
  })
}
// 工作模式分页查询
export function workModePage (params) {
  return request({
    url: '/work-patterns/page',
    method: 'get',
    params
  })
}
// 根据工作模式id获取工作模式详情
export function workModeDetail (id) {
  return request({
    url: `/work-patterns/${id}`,
    method: 'get'
  })
}
